<template>
  <!--header-->
  <header>
    <a href="javascript:;" @click="changepage()"><i class="iconfont icon-icon"></i></a>
    <span>品牌</span>
  </header>
</template>
<script type="text/ecmascript-6">
    export default {
      methods:{
        changepage:function(){
          this.$router.go(-1)
        }
      }
    }
</script>

<style scoped lang="scss">
  //header
  body{
    background: #f7f7f7;
  }
  header{
    padding:0.1rem 0.1rem;
    background: black;
    display: flex;
    color:white;
    font-size:22px;
    line-height: 0.4rem;
  }
  header i{
    display: block;
  }
  header .icon-icon{
    font-size:26px;
    color:white;
  }
  header span{
    margin-left: 35%;
    font-family: monospace;
    font-weight: bold;
  }
</style>
